@charset "UTF-8";
/* CSS Document */

body{
	font-family: 'Playfair Display', serif;
	font-style: normal;
	font-weight: normal;
	background: url("../img/background.jpg") center center fixed;
    background-size: cover;
	font-size: 18px;
	line-height: 24px;
	background-color: #DFD8D2;
	margin: 0;
}

#nextProject:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 5vw 5vw 0;
    border-style: solid;
    border-color: #fff #fff rgba(255, 255, 255, 0.5) rgba(255, 255, 255, 0.5);
    border-radius: 0 0 0 5px;
    /* background: rgba(0, 0, 0, 1); */
    display: block;
    width: 0;
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 30%), -1px 1px 1px rgb(0 0 0 / 20%);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
    box-shadow: 0 1px 1px rgb(0 0 0 / 30%), -1px 1px 1px rgb(0 0 0 / 20%);
}

#nextProject a{
	position: absolute;
    width: 5vw;
    height: 5vw;
    top: 0;
    right: 0;
}

h1{
	text-align: center;
	font-family: 'Marcellus', serif;
	width: 50%;
	float: left;
	font-size: 3em;
    font-weight: normal;
}

h2{
	font-family: 'Marcellus', serif;
	font-weight: normal;
	font-size: 2em;
}

h2 a{
	text-decoration: none;
	color: black;
}

img{
	max-width: 100%;
	height: auto;
}

header{
	padding: 30px;
}

header .container{
	display: flex;
	  justify-content: space-between;

}

header #home{
	order: 1;
	align-self: center;
	/*width: 25%;
	float: left;*/
}

header h1{
	order: 2;
	align-self: center;
}

header .date{
	order: 3;
	align-self: center;
}

header #headerImage{
	clear: both;
	width: calc(100% + 60px);
    margin-left: -30px;
	padding-top: 2vh;
	position: relative;
}

header #headerImage img{
	width: 100%;
	height: auto;
}


#play, #pause{
	width: 15% !important;
    position: absolute;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
	background: none;
    border: none;
	cursor: pointer;
}


main{
	margin: 0 calc(100vw/6);
	display: inline-block;
}

main .about p{
	margin-top: -20px;
}

main .about .left{
	width: 35%;
	float: left;
	padding-right: 5%;
	position: relative;
	padding-bottom: 60px;
}

main .about .right{
	width: 60%;
	float: left;
}

main .about .left img{
	width: 100%;
	height: auto;
}

.process1{
	margin-left: -10%;
    width: 50% !important;
    float: left;
}

.process2{
	margin-left: -7.5%;
    margin-top: 25%;
    width: 40% !important;
    float: left;
}

.butterfly{
	position: absolute;
    left: 40%;
    top: 5%;
}

footer{
	position: relative;
    left: 30px;
    bottom: 30px;
    font-size: 0.75em;
}

/*About*/
main#about .title{
	position: relative;
}

@keyframes rotateOnLoad {
  0% {
    transform: rotate(45deg);
  }
  100% {
    transform: rotate(90deg);
  }
}

main#about .butterfly{
	left: 0;
    top: -65px;
	animation: 1s ease-in 0s 1 rotateOnLoad;
	transform: rotate(90deg);
}

.description{
	margin: 50px 0 30px 0;
}

/*Mobile*/
@media screen and (max-width:720px) {
	h1{
		font-size: 2.25em;
	}
	
	h2{
		text-align: center;
		font-size: 1.5em;
	}
	
	main {
		margin: 0 calc(100vw/12);
	}
	
	header h1{
		width: auto;
	}

	header .date{
		display: none;
	}
	
	main .about .left{
		width: 100%;
		padding-right: 0;
		text-align: center;
		margin-bottom: 30px;
	}

	main .about .right{
		width: 100%;
	}
	
	.process1{
		margin-left: 0;
	}
	
	.butterfly{
		left: 60%;
	}
	
	#nextProject::before{
		border-width: 0 7.5vw 7.5vw 0;
	}
	
	#nextProject a{
		width: 7.5vw;
    	height: 7.5vw;
	}
}